<script setup>
import SensorConfig from "./components/SensorConfig.vue";
import MainContent from "./components/MainContent.vue";
</script>

<template>
  <div class="flex h-screen w-screen">
    <!-- 左侧：占约 38%（黄金分割左侧）-->
    <aside class="w-[38%] bg-base-200 p-6 overflow-y-auto">
      <h2 class="text-xl font-bold mb-4">传感器配置</h2>
      <SensorConfig />
    </aside>

    <!-- 右侧：占约 62%（黄金分割右侧）-->
    <main class="flex-1 bg-base-300 p-6">
      <!-- <h1 class="text-2xl font-bold mb-4">略略略</h1> -->
      <MainContent />
    </main>
  </div>
</template>

<style scoped></style>
